package com.envper.mysql.domain.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设备表 实体类。
 *
 * @author admin
 * @since 2025-05-07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("t_device_log")
public class TDeviceLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    private Long id;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 温度
     */
    private Float temperature;

    /**
     * 湿度
     */
    private Float humidity;

    /**
     * 光照强度
     */
    private Float lightMagnitude;

    /**
     * 硫化氢
     */
    private Float h2s;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

}
